package com.mimose.component.chains.util;

/**
 * @Description
 * @Author ccy
 * @Date 2020/1/9
 */
public class Constants {

    // 默认链路名
    public static final String DEFAULT_CHAIN_NAME = "DEFAULT";

    // 线程池配置名前缀
    public static final String CHAIN_EXECUTOR_PROPERTIES_PREFIX = "chain.executor";
    // 线程池 coolPoolSize
    public static final Integer DEFAULT_CHAIN_EXECUTOR_CORE_POOL_SIZE = 5;
    // 线程池 maximumPoolSize
    public static final Integer DEFAULT_CHAIN_EXECUTOR_MAX_POOL_SIZE = 100;
    // 线程池 keepAliveTime
    public static final Long DEFAULT_CHAIN_EXECUTOR_KEEP_ALIVE_TIME = 0L;
    // 线程池 队列capacity
    public static final Integer DEFAULT_CHAIN_EXECUTOR_QUEUE_CAPACITY = 400;
}
